package com.example.demo.constants.pojo;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@Api(tags = "用户角色关系实体")
@ApiModel(value = "UserRoleResultMap" ,description = "用户角色关系实体")
public class UserRoleResultMap {
    
	@ApiModelProperty(value = "用户编号", name = "用户编号", notes = "用户ID")	
	private int id;
	
	@ApiModelProperty(value = "用户姓名", name = "用户姓名", notes = "用户姓名")	
	private String name;
	
	@ApiModelProperty(value = "登陆账号", name = "登陆账号", notes = "登陆账号")	
	private String userName;
	
	@ApiModelProperty(value = "用户性别", name = "用户性别", notes = "用户性别: 0: 男 1: 女")	
	private int sex;
	
	@ApiModelProperty(value = "角色编号", name = "角色编号", notes = "角色编号")	
	private int roleId;
	
	@ApiModelProperty(value = "角色名称", name = "角色名称", notes = "角色名称")	
	private String roleName;
	
}
